package cn.fintecher.gis.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "department")
@Data

@ApiModel(value = "department", description = "机构信息")
public class Department extends BaseEntity {

    @ApiModelProperty(notes = "机构名称")
    private String departmentName;

    @ApiModelProperty(notes = "机构编号")
    private String departmentCode;

    @ApiModelProperty(notes = "父级机构")
    private String parentId;

}
